package cn.wdm.ymcc.service;

import cn.wdm.ymcc.domain.PayOrder;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lao.zhang
 * @since 2022-07-31
 */
public interface IPayOrderService extends IService<PayOrder> {
    /**
     * 根据订单号查询支付单
     * @param orderNo
     * @return
     */
    PayOrder selectByOrderNo(String orderNo);

    /**
     * 支付超时，处理支付单
     * @param courseOrderNo
     */
    void cancelPayOrder(String courseOrderNo);
}
